import request from './request.js'
// 登录
export function login(data){
	return request({
		url:'api/passport/login',
		method:'post',
		data
	})
}
// 获取用户信息
export function getUserInfo(){
	return request({
		url:'api/user/user-info	',
		method:'get',
	})
}